 package com.ghbank.rdws.auth.repository;

import java.util.Date;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.ghbank.rdws.auth.entity.ModuleToken;

public interface ModuleTokenRepository extends PagingAndSortingRepository<ModuleToken, Long> {
    ModuleToken findTopByTokenAndExpiresAfter(String token,Date validDate);
}
